var mongoose = require('mongoose')

var courseSchema = new mongoose.Schema({
    cid: String,
    cname: String,
    dayofweek: [String],
    number: String,
    allow: [String],
    teacher: String,
    briefintro: String,
    students: [String]
});

var Course = mongoose.model('Course', courseSchema)

module.exports = Course